.gpsProduct-banner .content-wrp {
    padding: 30px 0;
}

.product-detail-nav {
    color: #607ca2;
}

.quantitymain {
    margin-bottom: 0px;
}

.product-detail-nav.nav .nav-item a {
    color: #607ca2;
}

.fms-banner-product {
    padding-top: 84px;
}

.product-gallery-top {
    padding-top: 1px;
}

.product-title {
    font-size: 30px;
}

.vehicle-icons .badge {
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 5px;
    font-weight: bold;
    background-color: #dfdfdf !important;
}

.connectivity-icons .badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    font-weight: bold;
    background-color: #dfdfdf !important;
}

.product-gallery {
    position: relative;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

.gallery-nav:hover {
    background: #1b437a
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.product-gallery:hover .gallery-nav {
    display: block;
}

.thumbnail-gallery img {
    width: 100%;
    height: auto;
    background: white;
    padding: 5px !important;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.2s ease, border 0.2s ease;
}

.thumbnail-gallery img.active {
    border: 2px solid #007bff !important;
    transform: scale(1.05);
}

.product-main-image {
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7e7e7;
    border-radius: 8px;
    overflow: hidden;
}

#main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reviews-section {
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: Arial, sans-serif;
}

/* Layout */
.reviews-section .review-container {
    display: flex;
    gap: 2rem;
}

/* Review Form */
.reviews-section .review-form {
    flex: 0 0 350px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.reviews-section .review-form .card-header {
    font-weight: 600;
    font-size: 1.3rem;
    border-bottom: 2px solid #e9ecef;
}

/* Star rating - outline & fillable */
.rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    cursor: pointer;
    font-size: 2rem;
    gap: 0.2rem;
}

.rating input[type="radio"] {
    display: none;
}

.rating label {
    color: #ccc;
    /* outline color */
    transition: color 0.3s;
    position: relative;
}

.rating label i {
    pointer-events: none;
}

/* Fill stars on hover */
.rating label:hover,
.rating label:hover~label {
    color: #FFC107;
    /* gold */
}

/* Fill stars on selection */
.rating input:checked~label,
.rating input:checked~label~label {
    color: #FFC107;
    /* gold */
}

/* Optional: smooth transition on fill */
.rating label i {
    transition: color 0.2s;
}


/* Review list */
.reviews-section .reviews-list {
    flex: 1 1 auto;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-left: 1rem;
    border-left: 1px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
}

/* Scrollbar */
.reviews-section .reviews-list::-webkit-scrollbar {
    width: 8px;
}

.reviews-section .reviews-list::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

/* Individual review items */
.reviews-section #reviewsList .review-item {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
}

.reviews-section #reviewsList .review-item strong {
    font-size: 1.1rem;
    color: #333;
}

.reviews-section #reviewsList .review-item .stars {
    color: #ffcc00;
    font-size: 1.4rem;
    margin: 0.3rem 0;
}

.reviews-section #reviewsList .review-item p {
    font-size: 0.95rem;
    margin: 0.5rem 0 0.75rem;
    line-height: 1.5;
}

.reviews-section #reviewsList .review-item small {
    font-size: 0.85rem;
    color: #888;
}

/* Responsive Design */
@media (max-width: 992px) {
    .reviews-section .review-container {
        flex-direction: column;
    }

    .reviews-section .review-form {
        position: static;
        max-height: unset;
        margin-bottom: 1.5rem;
    }

    .reviews-section .reviews-list {
        max-height: unset;
        padding-left: 0;
        border-left: none;
    }
}

/* Background color block (same as technical spec section) */
.bg-clr-F7FBFF {
    background-color: #F7FBFF;
}

/* Padding utilities */
.pt-60 {
    padding-top: 60px;
}

.pb-60 {
    padding-bottom: 60px;
}

.pt-100 {
    padding-top: 100px;
}

.pb-3 {
    padding-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Section heading wrapper */
.heading-wrp h2 {
    font-size: 2rem;
    color: #232323;
    position: relative;
}

.card.review-form,
.modal-content form {
    border-radius: 10px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    background: #fff;
}

.highlight-border {
    border: 2px solid #ffc107 !important;
    box-shadow: 0 0 10px rgba(255, 193, 7, .6);
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}